<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsp/jstl/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <ui:composition template="WEB-INF/facelets/maintemplate.xhtml">
        <ui:define name="content">
            <div class="logincontainer">
                <h1>JadeTalk Admin console</h1>
                <hr />
                <h:form>
                    <h:outputLabel value="&nbsp;&nbsp;&nbsp;&nbsp;User:" />
                    <h:inputText value="#{loginBean.login}" />
                    <h:outputLabel value="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" />
                    <br />
                    <h:outputLabel value="Password:" />
                    <h:inputSecret value="#{loginBean.password}" />
                    <h:outputLabel value="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" />
                    <br />
                    <h:commandButton style="width:80%" value="login" action="#{loginBean.login()}" /><br />
                </h:form>
                <hr />
            </div>
        </ui:define>
    </ui:composition>
</html>

